/**
 * 等级自动评定模块 mock数据
 */

module.exports = [
  // 评定结果-----------开始
  {
    url: '/port/level/evaluation/getByPage',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717468676986,
        result: {
          records: [
            {
              level: null,
              companyName: '南通海仲航运有限公司',
              description: null,
              updateTime: null,
              delFlag: 0,
              score: null,
              createBy: null,
              companyId: '1441625806740402177',
              createTime: null,
              updateBy: null,
              annual: '2024',
              id: '1762680475536355330',
              applyStatus: 0
            },
            {
              level: null,
              companyName: '南通海仲航运有限公司',
              description: null,
              updateTime: null,
              delFlag: 0,
              score: null,
              createBy: null,
              companyId: '1441625806740402177',
              createTime: null,
              updateBy: null,
              annual: '2020',
              id: '1764471293666430978',
              applyStatus: 0
            },
            {
              level: null,
              companyName: '南通海仲航运有限公司',
              description: null,
              updateTime: null,
              delFlag: 0,
              score: null,
              createBy: null,
              companyId: '1441625806740402177',
              createTime: null,
              updateBy: null,
              annual: '2021',
              id: '1771047739411181570',
              applyStatus: 0
            },
            {
              level: 'II',
              companyName: '南通海仲航运有限公司',
              description: '贵公司已被评为II类诚信公司，可发起I级航运公司评审，请及时提交申请材料',
              updateTime: null,
              delFlag: 0,
              score: '-0.67',
              createBy: null,
              companyId: '1441625806740402177',
              createTime: null,
              updateBy: null,
              annual: '2023',
              id: '1760573756224081922',
              applyStatus: 3
            }
          ],
          total: 4,
          size: 10,
          current: 1,
          orders: [],
          optimizeCountSql: true,
          searchCount: true,
          countId: null,
          maxLimit: null,
          pages: 1
        },
        param: null
      }
    }
  },
  {
    url: '/port/companyDataReport/getInfoByYear',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717745590494,
        result: {
          year: 2023,
          w1: 6,
          w2: 2,
          w3: 157,
          w4: 10,
          w5: 32,
          w6: 3467,
          w7: 2,
          w8: 10,
          w9: 16,
          w10: 10,
          w11: 0,
          w12: 0,
          w13: 22,
          w14: 16,
          w15: 29,
          w16: 0,
          w17: 0,
          w18: 6,
          w19: 0,
          w20: 86,
          w21: 2,
          w22: 56,
          w23: 292.3,
          w24: 22,
          w25: 12,
          w26: 39,
          w27: 1,
          w28: 0,
          w29: 22,
          w30: 0,
          w31: 1,
          w32: 0,
          flowList: [
            {
              id: '1760574785934102529',
              createBy: null,
              createTime: '2024-02-22 15:58:33',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海仲航运有限公司',
              type: 0,
              auditDesc: null
            },
            {
              id: '1760579250032578561',
              createBy: null,
              createTime: '2024-02-22 16:16:20',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海事局',
              type: 1,
              auditDesc: '同意'
            },
            {
              id: '1765560452267130882',
              createBy: null,
              createTime: '2024-03-07 10:09:48',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海仲航运有限公司',
              type: 0,
              auditDesc: null
            },
            {
              id: '1765563231526207489',
              createBy: null,
              createTime: '2024-03-07 10:20:55',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海事局',
              type: 1,
              auditDesc: '数据确认无误'
            },
            {
              id: '1771056600323014657',
              createBy: null,
              createTime: '2024-03-22 14:09:32',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海仲航运有限公司',
              type: 0,
              auditDesc: null
            },
            {
              id: '1771057235978174465',
              createBy: null,
              createTime: '2024-03-22 14:12:07',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: null,
              type: 2,
              auditDesc:
                '潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上潍坊人娃上'
            },
            {
              id: '1771057299857424386',
              createBy: null,
              createTime: '2024-03-22 14:12:19',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: '南通海仲航运有限公司',
              type: 0,
              auditDesc: null
            },
            {
              id: '1771057479419772930',
              createBy: null,
              createTime: '2024-03-22 14:13:05',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              reportId: '1760574784956829697',
              orgName: null,
              type: 1,
              auditDesc: '不过分不过分不过分不过分不过分不过分不过分不分不过分不过'
            }
          ]
        },
        param: null
      }
    }
  },
  {
    url: '/port/companyDataReport/getDetailByYear',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717745590494,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/companyDataReport/add',
    type: 'post',
    response: (_) => {
      return {
        success: false,
        message: '2022年度上报还没开始，请稍后再进行上报！',
        code: 500,
        timestamp: 1717745662752,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/companyDataReport/edit',
    type: 'post',
    response: (_) => {
      return {
        success: true,
        message: '成功',
        code: 200,
        timestamp: 1717483146384,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/add',
    type: 'post',
    response: (_) => {
      return {
        success: false,
        message: '本年度已存在等级评定结果，请勿重复添加 ',
        code: 500,
        timestamp: 1717745191261,
        result: null,
        param: null
      }
    }
  },
  // 评定结果-----------结束

  // I级航运公司申请-开始
  {
    url: '/port/level/evaluation/getOneLevelApplyPage',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717468676986,
        result: {
          records: [
            {
              docShipType: '高速客船',
              year: 2023,
              companyName: '南通海仲航运有限公司',
              delFlag: 0,
              updateBy: null,
              shipTon: 3,
              id: '1772548722385580033',
              applyTime: '2024-03-26 16:58:20',
              companyCommitmentFlag: 1,
              flowList: null,
              companyCode: null,
              companyType: null,
              contactName: '123',
              companyAddr: '123',
              updateTime: null,
              docDate: '2024-03-18 00:00:00',
              createBy: null,
              companyId: '1441625806740402177',
              auditUserId: null,
              auditUserName: null,
              createTime: null,
              auditTime: null,
              detailList: null,
              auditDesc: null,
              shipNumber: 123,
              contactPhone: '13555555555',
              applyStatus: 0
            },
            {
              docShipType: '普通客船',
              year: 2023,
              companyName: '南通海仲航运有限公司',
              delFlag: 0,
              updateBy: null,
              shipTon: 1,
              id: '1771075599416983553',
              applyTime: '2024-03-22 15:25:03',
              companyCommitmentFlag: 1,
              flowList: null,
              companyCode: null,
              companyType: null,
              contactName: '测试',
              companyAddr: '南京',
              updateTime: null,
              docDate: '2024-03-22 00:00:00',
              createBy: null,
              companyId: '1441625806740402177',
              auditUserId: 1265476890672672800,
              auditUserName: '超级管理员',
              createTime: null,
              auditTime: null,
              detailList: null,
              auditDesc: '是否多发点是否多发点是否多发点是否多发点是否多发点是否多发点是否多',
              shipNumber: 1,
              contactPhone: '18876165121',
              applyStatus: 2
            }
          ],
          total: 2,
          size: 10,
          current: 1,
          orders: [],
          optimizeCountSql: true,
          searchCount: true,
          countId: null,
          maxLimit: null,
          pages: 1
        },
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/getApplyById/*',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717745590494,
        result: {
          id: '1771075599416983553',
          createBy: null,
          createTime: null,
          updateBy: null,
          updateTime: null,
          delFlag: 0,
          companyId: '1441625806740402177',
          companyName: '南通海仲航运有限公司',
          companyCode: null,
          companyAddr: '南京',
          contactName: '测试',
          contactPhone: '18876165121',
          companyType: null,
          shipNumber: 1,
          shipTon: 1,
          docDate: '2024-03-22 00:00:00',
          docShipType: '普通客船',
          year: 2023,
          applyStatus: 2,
          applyTime: '2024-03-22 15:25:03',
          auditTime: null,
          auditUserId: 1265476890672672800,
          auditUserName: '超级管理员',
          auditDesc: '是否多发点是否多发点是否多发点是否多发点是否多发点是否多发点是否多',
          companyCommitmentFlag: 1,
          detailList: [
            {
              id: '1771075600377479170',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 1,
              itemCheck: 0,
              itemContent: null
            },
            {
              id: '1771075600398450689',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 2,
              itemCheck: 1,
              itemContent: null
            },
            {
              id: '1771075600402644994',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 3,
              itemCheck: 1,
              itemContent: null
            },
            {
              id: '1771075600402644995',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 4,
              itemCheck: 1,
              itemContent: null
            },
            {
              id: '1771075600406839297',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 5,
              itemCheck: 1,
              itemContent: null
            },
            {
              id: '1771075600411033602',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 6,
              itemCheck: 1,
              itemContent: null
            },
            {
              id: '1771075600415227906',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 7,
              itemCheck: 0,
              itemContent: null
            },
            {
              id: '1771075600419422209',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 8,
              itemCheck: 0,
              itemContent: null
            },
            {
              id: '1771075600419422210',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 9,
              itemCheck: 0,
              itemContent: null
            },
            {
              id: '1771075600423616513',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 10,
              itemCheck: 0,
              itemContent: null
            },
            {
              id: '1771075600427810817',
              createBy: null,
              createTime: null,
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              itemNo: 11,
              itemCheck: 0,
              itemContent: null
            }
          ],
          flowList: [
            {
              id: '1771075604424982529',
              createBy: null,
              createTime: '2024-03-22 15:25:03',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              orgName: '南通海仲航运有限公司',
              type: 0,
              auditDesc: null
            },
            {
              id: '1771076651772051458',
              createBy: null,
              createTime: '2024-03-22 15:29:13',
              updateBy: null,
              updateTime: null,
              delFlag: 0,
              applyId: '1771075599416983553',
              orgName: null,
              type: 2,
              auditDesc: '是否多发点是否多发点是否多发点是否多发点是否多发点是否多发点是否多'
            }
          ]
        },
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/addOneLevelApply',
    type: 'post',
    response: (_) => {
      return {
        success: true,
        message: '成功1',
        code: 200,
        timestamp: 1717483146384,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/editOneLevelApply',
    type: 'post',
    response: (_) => {
      return {
        success: true,
        message: '成功',
        code: 200,
        timestamp: 1717483146384,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/submitOneLevelApply/*',
    type: 'post',
    response: (_) => {
      return {
        success: true,
        message: '成功',
        code: 200,
        timestamp: 1717483146384,
        result: null,
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/getApplyItemList',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717484020333,
        result: [
          {
            itemContent: '公司是否持《符合证明》3 年以上',
            itemCheck: null,
            itemNo: 1
          },
          {
            itemContent: '公司管理船舶是否不少于 3 艘或公司管理船舶的船舶总吨合计达 5 万以上',
            itemCheck: null,
            itemNo: 2
          },
          {
            itemContent: '是否连续 2 年航运公司安全诚信等级评定为 A 级',
            itemCheck: null,
            itemNo: 3
          },
          {
            itemContent:
              '最近 2 个年度，公司所管理船舶安全检查滞留率是否超过当年全国平均滞留率的二分之一，平均单船缺陷数是否超过当年全国的平均单船缺陷数',
            itemCheck: null,
            itemNo: 4
          },
          {
            itemContent:
              '最近 2 个年度，国际航运公司（包括同时持有国际和国内双证的公司）审核发证机构开具的不符合规定情况数量（不含代表船）是否超过当年全国平均数，国内航运公司审核发证机构开具的不符合规定情况数量（不含代表船）是否超过当年江苏平均数',
            itemCheck: null,
            itemNo: 5
          },
          {
            itemContent: '最近 2 个年度所管理船舶是否发生负对等以上责任的一般等级以上水上交通事故',
            itemCheck: null,
            itemNo: 6
          },
          {
            itemContent: '最近 2 个年度，公司是否发生遗弃船员、欠资欠薪等侵犯船员合法权益的情况及违反海事劳工公约规定的相关船东责任等问题',
            itemCheck: null,
            itemNo: 7
          },
          {
            itemContent:
              '最近 2 个年度所管理船舶（包括在船船员）是否发生严重违反水上交通安全与防污染管理规定的行为，是否发生严重违反船舶检验相关管理规定的行为',
            itemCheck: null,
            itemNo: 8
          },
          {
            itemContent: '公司及其所属船舶是否存在《江苏海事监管领域信用管理规定》确定的“黄名单”船舶或“黑名单”船舶',
            itemCheck: null,
            itemNo: 9
          },
          {
            itemContent: '是否发生向海事管理机构漏报公司及所管理船舶的水上交通事故、船舶滞留、海事行政处罚等影响安全管理体系运行的重大事项',
            itemCheck: null,
            itemNo: 10
          },
          {
            itemContent: '公司是否自觉遵守法律法规，认真落实安全生产主体责任',
            itemCheck: null,
            itemNo: 11
          }
        ],
        param: null
      }
    }
  },
  {
    url: '/port/level/evaluation/getApplyFlag',
    type: 'get',
    response: (_) => {
      return {
        success: true,
        message: null,
        code: 200,
        timestamp: 1717745590494,
        result: {
          applyFlag: true
        },
        param: null
      }
    }
  }
  // I级航运公司申请-结束
]
